home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Borland / Borland C++ V5.02 / LOCALMFC.PAK / LOCALIZE.ODL < prev    next >
Text File  |  1997-05-06  |  2KB  |  79 lines

  1. // localize.odl : type library source for OLE Custom Control project.
  2.  
  3. // This file will be processed by the Make Type Library (mktyplib) tool to
  4. // produce the type library (localize.tlb) that will become a resource in
  5. // localize.ocx.
  6.  
  7. // This is a part of the Microsoft Foundation Classes C++ library.
  8. // Copyright (C) 1992-1994 Microsoft Corporation
  9. // All rights reserved.
  10. //
  11. // This source code is only intended as a supplement to the
  12. // Microsoft Foundation Classes Reference and the
  13. // Books Online documentation provided with the library.
  14. // See these sources for detailed information regarding the
  15. // Microsoft Foundation Classes product.
  16.  
  17. #include <olectl.h>
  18.  
  19. [ uuid(879D6FE3-5470-101B-B57B-00608CC96AFA), version(1.0),
  20.   helpstring("Localize OLE Custom Control module"), control ]
  21. library LocalizeLib
  22. {
  23.     importlib(STDOLE_TLB);
  24.     importlib(STDTYPE_TLB);
  25.  
  26.     //  Primary dispatch interface for CLocalizeCtrl
  27.  
  28.     [ uuid(035E3E52-6745-101B-B57B-00608CC96AFA),
  29.       helpstring("Dispatch interface for Localize Control"), hidden ]
  30.     dispinterface _DLocalize
  31.     {
  32.         properties:
  33.             // NOTE - ClassWizard will maintain property information here.
  34.             //    Use extreme caution when editing this section.
  35.             //{{AFX_ODL_PROP(CLocalizeCtrl)
  36.             [id(1)] boolean Invert;
  37.             [id(DISPID_CAPTION), bindable, requestedit] BSTR Caption;
  38.             //}}AFX_ODL_PROP
  39.  
  40.         methods:
  41.             // NOTE - ClassWizard will maintain method information here.
  42.             //    Use extreme caution when editing this section.
  43.             //{{AFX_ODL_METHOD(CLocalizeCtrl)
  44.             //}}AFX_ODL_METHOD
  45.  
  46.             [id(DISPID_ABOUTBOX)] void AboutBox();
  47.     };
  48.  
  49.     //  Event dispatch interface for CLocalizeCtrl
  50.  
  51.     [ uuid(035E3E53-6745-101B-B57B-00608CC96AFA),
  52.       helpstring("Event interface for Localize Control") ]
  53.     dispinterface _DLocalizeEvents
  54.     {
  55.         properties:
  56.             //  Event interface has no properties
  57.  
  58.         methods:
  59.             // NOTE - ClassWizard will maintain event information here.
  60.             //    Use extreme caution when editing this section.
  61.             //{{AFX_ODL_EVENT(CLocalizeCtrl)
  62.             [id(DISPID_CLICK)] void Click();
  63.             //}}AFX_ODL_EVENT
  64.     };
  65.  
  66.     //  Class information for CLocalizeCtrl
  67.  
  68.     [ uuid(879D6FE0-5470-101B-B57B-00608CC96AFA),
  69.       helpstring("Localize Control"), control ]
  70.     coclass Localize
  71.     {
  72.         [default] dispinterface _DLocalize;
  73.         [default, source] dispinterface _DLocalizeEvents;
  74.     };
  75.  
  76.  
  77.     //{{AFX_APPEND_ODL}}
  78. };
  79.